package com.whatech.mall.order.service.impl;

import com.whatech.mall.order.model.entity.Order;
import com.whatech.mall.order.service.OrderService;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Override
    public Order save(Order order) {
        order.setId(System.currentTimeMillis());
        return order;
    }

}
